<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>
	<a href="./2-getStorage.html">getStorage</a>
</body>
<script>
	sessionStorage.setItem("userName","zhangsan");
	sessionStorage.age = 100;
	sessionStorage["sex"]="女";
</script>
</html>